package com.zhangyu.shadow.repair.delegate.repair.entity;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.zhangyu.shadow.repair.delegate.repair.ExpandableItemAdapter;

import java.util.List;

import st.lib.base.ui.recycler.MultipleItemEntity;


/**
 * Created by zhangyu on 2016/8/10.
 */

public class Level1Item extends AbstractExpandableItem implements MultiItemEntity {

    public List<MultipleItemEntity> mMultiItemEntities;

    public Level1Item(List<MultipleItemEntity> list) {
        mMultiItemEntities = list;
    }

    public void setMultiItemEntities(List<MultipleItemEntity> multiItemEntities) {
        mMultiItemEntities = multiItemEntities;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_1;
    }

    @Override
    public int getLevel() {
        return 1;
    }
}